<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>StatServer for ATAC (%%screenname%%</title>
<style type="text/css">
body  {
background: #F4F4F4;
margin: 0;
}

#container { 
width: 780px;
margin: 0 auto;
background: #FFFFFF;
}

#header {
font-family: "Lucida Sans Unicode";
padding: 45px 0 20px 40px;
} 

#header a {
color: #121212;
text-decoration: none;
font-size: 30px; 
}

#menu {
background-color: #3b7687; 
padding: 6px 6px 6px 40px;
font-family: "Lucida Sans Unicode";
font-size: 12px;
text-align: right;
color: #FFFFFF;
}

#menu a {
color: #c5d6db;
text-decoration: none; 
text-transform: uppercase;
}

#menu a:hover {
color: #ecf2f3;
}

#sidebar {
float: left;
width: 120px;
padding: 30px 0 0 40px;
margin: 0;
font-family: "Lucida Sans Unicode";
font-size: 12px;
}

h1 {
margin: 0px;
color: #869843; 
font-size:24px; 
font-family: "Arial Narrow", "Myriad Pro"; 
font-weight: normal;
}

h2 {
color: #3b7687;
font-size: 15px; 
margin: 20px 0 5px 0;
}

#main { 
margin: 0 0 0 180px;
padding: 35px 40px 30px 0;
color: #444444;
font-family: "Georgia";
font-size: 13px; 
line-height: 18px;
text-align: justify;
} 

#main a {
color: #3b7687; 
text-decoration: none;
}

#main a:hover {
color: #444444;
}

#footer {
padding: 6px 40px 6px 40px;
background: #d6d6d6; 
font-family: "Lucida Sans Unicode";
color: #444444;
font-size: 11px;
text-align: right;
}

#footer a {
text-decoration: none; 
color: #262626;
}

#footer a:hover {
color: #666666;
}

.clear {
clear: both;
}

.separator {
font-size:11px;
color:#FFFFFF;
}

td, th {
 padding: 4px;
}
</style>
</head>

<body>

<div id="container">

<div id="header">
<a href="#">StatServer for ATAC (%%screenname%%)</a>
</div>

<div id="menu">
<b>%%total_msgs%%</b> messages since first run on <b>%%first_run%%</b>
</div>

<div id="sidebar">
<h2>Searches</h2>
%%google_res%%
<h2>Twitters</h2>
%%twitters%%
</div>

<div id="main">

<h2>Server Specs</h2>
<p>Running on <b><a href="%%host%%">%%host%%</a></b></p>

<h2>Last Runtime</h2>
<p><b>%%last_run%%</b></p>

<hr />

<h2>Alerts</h2>
<table style="width: 100%; border: 1px solid #3b7687;">
  <thead style="color: #FFFFFF;background-color:#3b7687;">
    <tr>
      <th>Alert</th>
      <th>Number of times called</th>
    </tr>
  </thead>
	<tbody>
	%%alert_table%%
	</tbody>
</table>

<h2>Messages</h2>
<table style="width: 100%; border: 1px solid #3b7687;">
  <thead style="color: #FFFFFF;background-color:#3b7687;">
    <tr>
      <th>Screenname</th>
      <th>Number of messages</th>
    </tr>
  </thead>
	<tbody>
	%%message_table%%
	</tbody>
</table>

</div>

<div class="clear"></div>

<div id="footer">
&copy;2009 ATAC/evilwalr.us &nbsp;<span class="separator">|</span> &nbsp; 
Standalone HTTP server running on PHP %%phpversion%% / %%phpos%%
</div>

</div>

</body>
</html>
